def write_html_to_file(html, file_name):
    file = open(file_name, "w")
    file.write(str(html, encoding="utf-8"))

